use clap::Parser;
use cli::Cli;
use app::App;
mod ahoben;
mod tormeta;
mod tracker;
mod client;
mod util;
mod message;
mod cli;
mod app;
fn main() {
    let cli = Cli::parse();
    let mut app = App::new();
    match &cli.command {
        cli::Commands::List { file } => {
            App::list_tor_file(file.clone());
        },
        cli::Commands::Interact{ file } => {
            app.interact(file.clone());
        },
    }
}
